package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.List;

/**
 * 作者：zzq
 * 时间：2017/10/23
 * 描述：雄安加盟网_资讯分类
 */
@Entity(value="SundayNewsCategory", noClassnameStored=true)
public class SundayNewsCategory extends BaseMongoEntity{
    //基础属性
    private String image;//图片
    private String name;//类目名称
    private String sequence;//序列号。从小到大
    private Long parentId;//父类ID
    private String siteTitle;//网页标题
    private String siteKeywords;//网页关键词
    private String siteDescription;//网页描述
    private List<SundayNewsCategory> children;//子类

    private Integer isIndex;//是否首页   下面的四个
    private Integer isRecommend;  //是否首页     右侧上方的三个

    public SundayNewsCategory() {
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSequence() {
        return sequence;
    }

    public void setSequence(String sequence) {
        this.sequence = sequence;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<SundayNewsCategory> getChildren() {
        return children;
    }

    public void setChildren(List<SundayNewsCategory> children) {
        this.children = children;
    }

    public Integer getIsIndex() {
        return isIndex;
    }

    public void setIsIndex(Integer isIndex) {
        this.isIndex = isIndex;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    public String getSiteTitle() {
        return siteTitle;
    }

    public void setSiteTitle(String siteTitle) {
        this.siteTitle = siteTitle;
    }

    public String getSiteKeywords() {
        return siteKeywords;
    }

    public void setSiteKeywords(String siteKeywords) {
        this.siteKeywords = siteKeywords;
    }

    public String getSiteDescription() {
        return siteDescription;
    }

    public void setSiteDescription(String siteDescription) {
        this.siteDescription = siteDescription;
    }
}
